home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
dirchk2.zip
/
DIRCHK2.DOC
< prev
next >
Wrap
Text File
|
1985-08-04
|
4KB
|
73 lines
Dirchk2 & Notlist Documentation
Daniel Doman
SYSOP
PCSI BBS
212-924-6598
Registration Required
These programs are supplied as is, and without any express warranty.
8-4-85
These programs are designed to aid in the maintainance of bulletin
board download directories. As systems get larger, it becomes increasingly
difficult to keep track of all of the files. My own bulletin board - PCSI
in NY,NY has more than 1700 files distributed accross 8 subdirectories, and
four drives. I was quite shocked by how many files these programs flagged.
These two programs are intended for RBBS style directories. NOTLIST
will work on directory listings from any BBS system, but DIRCHK2 will only
work on RBBS directories. This is because DIRCHK2 looks for a '-' in
columns 24, and 28. That indicates that the line being processed contains a
file, and is not just a piece of header information.
These two programs run quickly because they process in memory. They
read your disk directories, and store the filenames into an allocated block
of memory. They can handle up to 3000 filenames. If you have more than
that, have the programs process subsets of your system, rather than all
listings at once.
DIRCHK2
-------
DIRCHK2 scans your download directory listings, and flags those files
that are listed, but not actually present on your drives. It will output to
the screen, but can also optionally output to a printer, a file, and edit
out the missing files from the download listings. If you choose to use the
edit option, it is a good idea to have the program also output to a file so
that you will have a record of what files were deleted from the listing.
DIRCHK2 saves your original file with a ."OLD" extension when you use the
edit option.
You can specify your directory listings with wildcards e.g.. *.DIR, or
DIR??. You can specify up to SIX groups of listings, so you can have the
program process listings with varied names like *.DIR, ALPHADIR, and
DATEDIR. After you specify your directory files, you then specify where
DIRCHK2 will look for files. You can specify up to 25 different drives &
subdirectories e.g.. D:\UPLOAD etc..
After you specify your download listings, and the drives, and
subdirectories where your files can be found, you will be asked if you want
printer output, file output, and if you want DIRCHK2 to edit the download
listings. The program interprets any character other than a 'Y' or 'y' as a
"no". You can simply hit your return key to skip an option.
If you have text in your headers that contains a line of dashes, don't
be surprised if DIRCHK2 flags this as a missing file. If your text has a
'-' in the two places that DIRCHK2 looks to confirm that this is not a line
of text, it assumes that the line contains a filename.
DIRCHK2 took about 15 minutes to scan through 1700 files, and ten
download listings.
NOTLIST
-------
NOTLIST does the opposit of what DIRCHK2 does. It scans your directory
listings, and indicates what files are on your drives, BUT NOT listed on
your download directories. It does not offer an edit option, and WILL work
with download listings generated by any BBS program that I am aware of. It
uses a priority scan routine, and runs very, very quickly. When I first ran
NOTLIST, it found almost three pages of unlisted files.
If you have NOTLIST output to a file, don't be surprised if it flags
this as an unlisted file. Think about it. It makes sense.
You can specify all input and output files with drives, and path
specifiers e.g.. e:\LISTINGS\*.DIR